using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;

namespace Q.Framework.Extension
{
    public static class AssemblyExtension
    {
        public static string GetProductName(this Assembly assembly)
        {
            return (assembly.GetCustomAttributes(typeof(AssemblyProductAttribute), false)[0] as AssemblyProductAttribute).Product;
        }
    }
}